﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="InvoiceDetail.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.ProcureManage.InvoiceDetail"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="maincon">
        <div id="note">
            发票信息</div>
        <div id="note2">
        </div>
        <table  id="tbl">
            <tr>
                <th>
                    <asp:Label ID="lblInvoiceID" runat="server" Text="发票编号："></asp:Label>
                </th>
                <td>
                    <asp:Label runat="server" ID="txtInvoiceID"></asp:Label>
                </td>
                <th>
                    <asp:Label ID="lblDateTime" runat="server" Text="医疗机构名称："></asp:Label>
                </th>
                <td>
                    <asp:Label ID="txtHospital" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lblAmount" runat="server" Text="总金额："></asp:Label>
                </th>
                <td>
                    <asp:Label ID="txtAmount" runat="server"></asp:Label>
                </td>
                <th>
                    <asp:Label ID="lblStatus" runat="server" Text="发票状态："></asp:Label>
                </th>
                <td>
                    <asp:Label ID="txtStatus" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lblTime" runat="server" Text="审核时间："></asp:Label>
                </th>
                <td>
                    <asp:Label ID="txtTime" runat="server"></asp:Label>
                </td>
                <th>
                    &nbsp;</th>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lblAuditPerson" runat="server" Text="审核人："></asp:Label>
                </th>
                <td>
                    <asp:Label ID="txtAuditPerson" runat="server" Visible="false"></asp:Label>
                </td>
                <th>
                    <asp:Label ID="lblReason" runat="server" Text="不通过原因：" Visible="false"></asp:Label>
                </th>
                <td>
                    <asp:Label ID="txtReason" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
            </table>
    </div>
    <br />
    <asp:GridView ID="gvwInvoiceDetail" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            
            <asp:BoundField DataField="Dis_WarehouseCount" HeaderText="入库数量" />
            <asp:BoundField DataField="Dis_DistributeCount" HeaderText="配送数量" />
            <asp:BoundField DataField="PurchaseCount" HeaderText="采购数量" />
            <%--<asp:BoundField DataField="Price" HeaderText="采购价" DataFormatString="{0:N4}"/>--%>
            <asp:TemplateField HeaderText="采购价">
                <ItemTemplate>
                    <asp:Label ID="lblPrice" runat="server" Text='<%#HZ.DrugTrade.Web.Function.FormPrice(Eval("ProjectID"), Eval("Price")) %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="ProductName" HeaderText="通用名" />
            <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" />
             <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <asp:BoundField DataField="OutLookc" HeaderText="规格" />
<%--            <asp:BoundField DataField="Amount" HeaderText="采购金额" />--%>
            <asp:BoundField DataField="CompanyName_PS" HeaderText="配送企业" />
           <%-- <asp:BoundField DataField="ExecuteTime" HeaderText="执行时间" />--%>
           <asp:BoundField DataField="DistributeTime" HeaderText="配送时间" />
           <asp:BoundField DataField="OrderName" HeaderText="采购单名称" />
        </Columns>
    </asp:GridView>
     <div class="page">
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server">
    </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
        <input type="button" value="返回" onclick="javascript:history.go(-1)" class="btn" />
    </div>
</asp:Content>
